<template>
	<uni-nav-bar title="零钱明细" left-icon="arrowleft" @clickLeft="back()" />
	<view>
		<!-- 零钱详细页面 -->
		<view class="smallchangeIcon">
			<image src="../../static/image/smallchange.png"></image>
			<text class="smallchange_my">我的零钱</text>
			<text class="nums">￥ {{looseChange}}</text>
		</view>
		<view class="button">
			<button class="button1">充值</button>
			<button class="button2">提现</button>
		</view>


		<view class="question">
			常见问题
		</view>


	</view>
</template>

<script>
	export default {
		data() {
			return {
				looseChange: "",
			}
		},
		methods: {
			back() {
				uni.navigateBack({
					delta: 1
				});
			},
		},
		onLoad(options) {
			this.looseChange = options.looseChange
		}
	}
</script>

<style lang="scss">
	::v-deep .uni-nav-bar-text {
		font-size: 20px;
	}

	::v-deep .uni-navbar__content_view {
		font-size: 20px;
	}

	.smallchangeIcon {
		margin-top: 100px;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}

	.smallchangeIcon image {

		width: 60px;
		height: 60px;
	}

	.smallchange_my {
		margin-top: 40px;
		font-size: 18px;
		// font-family: 'YouYuan', Times, serif;
		font-weight: 500;

	}

	.nums {
		font-weight: bolder;
		font-size: 30px;
		margin-top: 20px;
	}

	.button {

		width: 55%;
		margin: 0 auto;
		margin-top: 200px;

		.button1 {
			background-color: #58BE6B;
			margin-bottom: 25px;
			color: white;
		}

		.button2 {
			background-color: #F2F2F2;
			margin-bottom: 80px;
			color: black;
			
		}
	}
	.question{
		text-align: center;
		color: #636B8D;
	}
</style>